package oohomework;

public class Car {
    String brand;
    String color;
    double price;
    int capacity;

    Car(){
    }

    void start(){
        System.out.println(brand+"牌子的"+color+"色的"+capacity+"座的"+price+"块钱的车启动了....");
    }
    void run(){
        System.out.println(brand+"牌子的"+color+"色的"+capacity+"座的"+price+"块钱的车跑起来了....");
    }
    void stop(){
        System.out.println(brand+"牌子的"+color+"色的"+capacity+"座的"+price+"块钱的车停下来了....");
    }
}
